<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>SURPRISE</title>
        <link href="src/css/main.less" rel="stylesheet">
        <script src="src/static/esl.js"></script>
        <script src="src/static/jquery.js"></script>
    </head>
<body>
    <div class="sidebar">
        <div class="user">
            <ul id="userInfo" style="display:none;">
                <li class="usernew"><span id="username"></span><span class="ml10 mr10">|</span> <a href="/api/logout">退出</a></li>
            </ul>
        </div>
        <ul id="nav" class="nav"></ul>
    </div>

    <div class="content">
        <div class="header">
            <a class="logo" href="/"><img src="src/images/logo_yellow.png"></a>
        </div>
        <div id="main" class="main">
            <p class="loading">Loading...</p>
        </div>
        <div class="footer">
            <ul>
                <li>版权所有  Copyright2017  All Rights Reserved</li>
                <li>上海翰致投资咨询有限公司 <a href="http://www.miitbeian.gov.cn/">沪ICP备15034671号-2</a></li>
            </ul>
        </div>
    </div>

    <script>
        window.DEBUG = true;
        require.config({
            'baseUrl': 'src',
            'paths': {
                'tpl': 'common/tpl',
                'text': 'common/text',
                'css': 'common/esl-css'
            },
            'packages': [
                {
                    'name': 'mini-event',
                    'location': '../dep/mini-event/1.0.2/src',
                    'main': 'main'
                },
                {
                    'name': 'underscore',
                    'location': '../dep/underscore/1.5.2/src',
                    'main': 'underscore'
                },
                {
                    'name': 'moment',
                    'location': '../dep/moment/2.7.0/src',
                    'main': 'moment'
                },
                {
                    'name': 'etpl',
                    'location': '../dep/etpl/3.0.1/src',
                    'main': 'main'
                },
                {
                    'name': 'esui',
                    'location': '../dep/esui/3.2.0-beta.2/src',
                    'main': 'main'
                },
                {
                    'name': 'eicons',
                    'location': '../dep/eicons/1.0.0-beta.1/src',
                    'main': 'main.less'
                },
                {
                    'name': 'er',
                    'location': '../dep/er/3.1.0-rc.2/src'
                },
                {
                    'name': 'ef',
                    'location': '../dep/ef/3.1.0-beta.3/src'
                },
                {
                    'name': 'ub-ria',
                    'location': '../dep/ub-ria/2.0.0-beta.6/src'
                },
                {
                    'name': 'esf',
                    'location': '../dep/esf/1.0.0-rc.2/src'
                },
                {
                    'name': 'est',
                    'location': '../dep/est/1.3.0/src'
                },
                {
                    'name': 'eoo',
                    'location': '../dep/eoo/0.1.4/src',
                    'main': 'main'
                },
                {
                    "name": "ub-ria-ui",
                    "location": "../dep/ub-ria-ui/1.0.0-beta.2/src"
                },
                {
                    'name': 'er-track',
                    'location': '../dep/er-track/0.9.1/src',
                    'main': 'main'
                },
                {
                    "name": "promise",
                    "location": "../dep/promise/1.0.2/src",
                    "main": "main"
                }
            ]
        });
    </script>
    <script src="src/startup/ui.js"></script>
    <script src="src/startup/ria.js"></script>
    <script src="src/startup/biz.js"></script>
    <script>
        require(
            ['common/main'],
            function (main) {
                main.start();
            }
        );
    </script>

</body>
</html>
